﻿namespace Netfraction.Hub.Scripting
{
    /// <summary>
    /// The SourceCodeType refers to the nature of an object at the file-level.
    /// </summary>
    public enum SourceCodeType : int
    {
        /// <summary>
        /// A built-in file is one referenced by the hub at compile-time.
        /// </summary>
        BuiltIn = 1,
        /// <summary>
        /// A compiled assembly is a .Net CLR Assembly. It resides in the Scripts folder.
        /// </summary>
        CompiledAssembly = 2,
        /// <summary>
        /// A Dynamic Language Runtime based script e.g. IronPython or IronRuby. It resides in the Scripts folder.
        /// </summary>
        DLRScript = 3
    }
}